<div
    class="work-package--new-state work-packages--show-view"
    ng-if="$ctrl.newWorkPackage"
    has-edit-mode="true"
    wp-edit-form="$ctrl.newWorkPackage"
    wp-edit-form-on-save="$ctrl.refreshAfterSave(workPackage, 'work-packages.show')">
  <h2>{{ $ctrl.header }}</h2>
  <wp-subject work-package="$ctrl.newWorkPackage"></wp-subject>
  <wp-single-view work-package="$ctrl.newWorkPackage"></wp-single-view>
  <edit-actions-bar
      on-save="$ctrl.saveWorkPackage()"
      on-cancel="$ctrl.cancelAndBackToList()"
  ></edit-actions-bar>
</div>
